// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
	devServer: {
		host: "0.0.0.0",
		port: 4000,
	},
	ssr: true,
	devtools: {
		enabled: true,
		timeline: {
			enabled: true,
		},
	},

	modules: ["@nuxt/eslint", "@element-plus/nuxt", "@nuxtjs/tailwindcss", "@nuxt/image"],
	css: ["element-plus/dist/index.css", "~/assets/styles/tailwind.css"],
	eslint: {
		checker: true,
		config: {
			standalone: false, // 关闭默认配置（默认情况下，此模块会使用推荐的规则安装 JS、TS 和 Vue 插件）
		},
	},
	postcss: {
		plugins: {
			tailwindcss: {},
			autoprefixer: {},
		},
	},

	runtimeConfig: {
		public: {
			title: "杭州义德中医医院",
		},
	},
});
